#
# Project manager generated MAKEFILE
#
TITLE = csi
DEVFILE = C:\Program Files\NEC Electronics Tools\DEV\DF3376.800
PROJDIR = E:\016 Source code\fx3_UCM_ver1.5_VAT
TOOLDIR = C:\Program Files\NEC Electronics Tools\PM+\V6.32\bin
WORKDIR = E:\016 Source code\fx3_UCM_ver1.5_VAT
DEBUG = 

CC	= "C:\Program Files\NEC Electronics Tools\CA850\V3.46\bin\ca850.exe"
CFLAGS	= -cpu F3376 -Iinclude -Xsconst -Xcxxcom -Xr
AS	= "C:\Program Files\NEC Electronics Tools\CA850\V3.46\bin\as850.exe"
ASFLAGS	= -cpu F3376 -g
LD	= "C:\Program Files\NEC Electronics Tools\CA850\V3.46\bin\ld850.exe"
LIBDIR	= C:\Program Files\NEC Electronics Tools\CA850\V3.46\lib850\r32
STARTUP	= crte.o
DEP_STARTUP = 
LINKDIR	= 850.dir
LDFLAGS	= -cpu F3376 -D $(LINKDIR) -Xsid=0xFFFFFFFFFFFFFFFFFFFF
LIBRARY	= "$(LIBDIR)\libm.a" \
	  "$(LIBDIR)\libc.a" \
	  "$(LIBDIR)\libr.a"
ROMPCRT	= "$(LIBDIR)\rompcrt.o"
LDLIBS	= -lm -lc -lr $(ROMPCRT)
ROMP	= "C:\Program Files\NEC Electronics Tools\CA850\V3.46\bin\romp850.exe"
RPFLAGS	= 
HX	= "C:\Program Files\NEC Electronics Tools\CA850\V3.46\bin\hx850.exe"
HXFLAGS	= -o romp.hex -fs

OBJS = inttab.o  \
	systeminit.o  \
	main.o  \
	serial.o  \
	serial_user.o  \
	system.o  \
	system_user.o  \
	spi_if.o  \
	bq_pack.o  \
	data_flash.o 

DEP_inttab_s = 

DEP_systeminit_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\serial.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\system.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h"

DEP_main_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\serial.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\system.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\include\spi_if.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\data_flash.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\bq_pack.h"

DEP_serial_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\serial.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\include\spi_if.h"

DEP_serial_user_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\serial.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h"

DEP_system_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\system.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h"

DEP_system_user_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\system.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h"

DEP_spi_if_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\include\spi_if.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\macrodriver.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\serial.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\system.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\user_define.h"

DEP_bq_pack_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\bq_pack.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\data_flash.h"

DEP_data_flash_c = "E:\016 Source code\fx3_UCM_ver1.5_VAT\bq_pack.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\data_flash.h" \
	"E:\016 Source code\fx3_UCM_ver1.5_VAT\types.h"

GOAL : E:\016 Source code\fx3_UCM_ver1.5_VAT\romp.out





















inttab.o : inttab.s $(DEP_inttab_s)
	$(AS) $(ASFLAGS) inttab.s

systeminit.o : systeminit.c $(DEP_systeminit_c)
	$(CC) $(CFLAGS) -g -c systeminit.c

main.o : main.c $(DEP_main_c)
	$(CC) $(CFLAGS) -g -c main.c

serial.o : serial.c $(DEP_serial_c)
	$(CC) $(CFLAGS) -g -c serial.c

serial_user.o : serial_user.c $(DEP_serial_user_c)
	$(CC) $(CFLAGS) -g -c serial_user.c

system.o : system.c $(DEP_system_c)
	$(CC) $(CFLAGS) -g -c system.c

system_user.o : system_user.c $(DEP_system_user_c)
	$(CC) $(CFLAGS) -g -c system_user.c

spi_if.o : spi_if.c $(DEP_spi_if_c)
	$(CC) $(CFLAGS) -g -c spi_if.c

bq_pack.o : bq_pack.c $(DEP_bq_pack_c)
	$(CC) $(CFLAGS) -g -c bq_pack.c

data_flash.o : data_flash.c $(DEP_data_flash_c)
	$(CC) $(CFLAGS) -g -c data_flash.c

crte.o : crte.s $(DEP_STARTUP)
	$(AS) -cpu F3376 -g crte.s

romp.out : $(STARTUP) $(LINKDIR) $(OBJS) $(LIBRARY) $(ROMPCRT)
	$(LD) @csi.cld
	$(ROMP) $(RPFLAGS) a.out
	$(HX) $(HXFLAGS) romp.out

